home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / var / lib / dpkg / info / pulseaudio.preinst < prev    next >
Text File  |  2009-10-26  |  566b  |  28 lines

  1. #!/bin/sh
  2.  
  3. case "$1" in
  4.   install|upgrade)
  5.     if dpkg --compare-versions "$2" lt "1:0.9.16~test5-0ubuntu2"; then
  6.       if [ -f /etc/xdg/autostart/pulseaudio.desktop ]; then
  7.         rm /etc/xdg/autostart/pulseaudio.desktop
  8.       fi
  9.     fi
  10.  
  11.     if dpkg --compare-versions "$2" lt "1:0.9.16~test1-0ubuntu1~ppa2"; then
  12.       if getent group pulse-rt > /dev/null ; then
  13.         delgroup --quiet --system pulse-rt > /dev/null || true
  14.       fi
  15.     fi
  16.   ;;
  17.   abort-upgrade)
  18.   ;;
  19.   *)
  20.     echo "preinst called with unknown argument \`$1'" >&2
  21.     exit 1
  22.   ;;
  23. esac
  24.  
  25.  
  26.  
  27. exit 0
  28.